package start.doubudouyin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import start.doubudouyin.entity.Idgenerate;
import start.doubudouyin.service.IdgenerateService;
import start.doubudouyin.mapper.IdgenerateMapper;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.Date;

/**
* @author 38798
* @description 针对表【idgenerate(用户ID生成记录表)】的数据库操作Service实现
* @createDate 2025-05-29 17:43:49
*/
@Service
public class IdgenerateServiceImpl extends ServiceImpl<IdgenerateMapper, Idgenerate>
    implements IdgenerateService{
    @Resource
    private IdgenerateMapper idgenerateMapper;

    public Date isDateExist(Date date){
        return idgenerateMapper.isDateExist(date);
    }
    public Integer getRegisternum(Date date){
        return idgenerateMapper.getRegisternum(date);
    }
    public Integer insertDate(Date date){
        return idgenerateMapper.insertDate(date);
    }
    public Integer getuploadnum(Date date){
        return idgenerateMapper.getuploadnum(date);
    }
    public Integer updateRegisternum (Date date){
        return idgenerateMapper.updateRegisternum(date);
    }
    public Integer updateVideonum(Date date){
        return idgenerateMapper.updateVideonum(date);
    }
}




